package com.xcyy.zjdxmjk.zjdxmjk.repository;

import com.xcyy.zjdxmjk.zjdxmjk.entity.City;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CityRepository extends JpaRepository<City ,String> {
    City save(City city);
    List<City> findAll();
    City findByCode(String code);
}
